.loginContainer {
  display: flex;
  height: 100vh;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.loginBackground {
  flex: 1;
  background: linear-gradient(135deg, #3498db, #2ecc71);
  position: relative;
  overflow: hidden;
}

.shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.shape1 {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
  background: rgba(255, 255, 255, 0.1);
}

.shape2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  right: -100px;
  background: rgba(255, 255, 255, 0.1);
}

.shape3 {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 30%;
  background: rgba(255, 255, 255, 0.05);
}

.shape4 {
  width: 100px;
  height: 100px;
  bottom: 30%;
  right: 20%;
  background: rgba(255, 255, 255, 0.05);
}

.loginForm {
  width: 450px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.formHeader {
  text-align: center;
  margin-bottom: 30px;
}

.formHeader h1 {
  color: #3498db;
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 600;
}

.formHeader p {
  color: #7f8c8d;
  font-size: 16px;
}

.errorMessage {
  background-color: #ffeaea;
  color: #e74c3c;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  text-align: center;
  border-left: 4px solid #e74c3c;
}

.formGroup {
  margin-bottom: 20px;
}

.formGroup label {
  display: block;
  margin-bottom: 8px;
  color: #2c3e50;
  font-weight: 500;
}

.formGroup input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e6f2ff;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.formGroup input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.formOptions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.rememberMe {
  display: flex;
  align-items: center;
}

.rememberMe input {
  margin-right: 8px;
}

.rememberMe label {
  color: #7f8c8d;
  font-size: 14px;
  cursor: pointer;
}

.forgotPassword {
  color: #3498db;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.forgotPassword:hover {
  color: #2980b9;
}

.loginButton {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
  margin-bottom: 20px;
}

.loginButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

.loginButton:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.buttonLoader {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.formFooter {
  text-align: center;
  margin-top: 20px;
}

.formFooter p {
  color: #95a5a6;
  font-size: 14px;
}

.demoAccount {
  margin-top: 10px;
  color: #3498db !important;
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .loginContainer {
    flex-direction: column;
  }
  
  .loginBackground {
    flex: none;
    height: 30vh;
  }
  
  .loginForm {
    width: 100%;
    padding: 30px 20px;
    border-radius: 20px 20px 0 0;
  }
  
  .formHeader h1 {
    font-size: 24px;
  }
  
  .formHeader p {
    font-size: 14px;
  }
}